/*
 * @Author: zhangzhanyan 
 * @Date: 2021-07-23 15:47:42 
 * @Last Modified by: zhangzhnayan
 * @Last Modified time: 2021-07-23 16:07:32
 */

import  { Component } from 'react';
import { Icon } from 'antd-mobile';
import {history} from "umi"

class header extends Component {
    back(){
        history.push("/home")
    }
    render() {
        return (
            <div className="Register-header">
                <Icon type="cross" size="md" onClick={()=>this.back()}/>
            </div>
        );
    }
}

export default header;